#pragma once

namespace Ohscrcpy {

class TcpClient {
public:
    bool Init();
    bool Connect(const char *ip, unsigned short port);
    int Send(const char *data, int size);
    int Recv(char *data, int size);
    void Close();
    virtual ~TcpClient();

private:
    int socketFd;
};

}
